< previous page page_215 next page >

Page 215
Building the Initial Design
Back on Day 1, Writing Professional Visual Basic Applications, you learned that creating an application is a lot like building a house. For a well-built house, you need a blueprint to follow, but to create a good blueprint, you need to know who's going to live in the house and what their living style will be. This will help you decide the number and sizes of the rooms, what colors to use, and so on. With an application, the blueprint is the technical specs; the functional specs are what you need to know to create the technical specs. Now, many books teach the overall application design process by using very simplistic example applications. That's not what will happen here.
Let's revisit the application discussed on Day 1. The starting description of that application is as follows:
8694cbadb9b1ef7075903f6f95fc1db2.gif
Personal Address/Phone BookThis application will keep track of names, addresses, and phone numbers by name. It will allow as many different addresses and phone numbers as needed. Also, it will allow the entry of some personal information (such as birth date, spouse's name, and children's names) to be determined later. It will also provide reports in several formats and allow users to search the database for a particular person.
Although this application is fairly simple when compared with applications such as Microsoft Money or Microsoft Outlook, it still requires all the same components to perform properly. From this simple paragraph a mighty application will grow, but it takes patience and time. After you decide on the type of application you want to create, the next step is to decide the main tasks it will perform.
Choosing the Tasks
Defining the tasks for the application also defines its complexity. For example, this application is an address/phone book, if you decide to give users the ability to select a phone number and have the computer dial it for them. To add this functionality to the application, you need to know how to test for the existence of a modem, connect to that modem, and then actually dial the number. If you don't know how to add this functionality, you might consider waiting to add it after the initial version of the application is created and tested. This is what releasing new versions are all about.
Keep the initial version of this application at a simpler level. The best way to design an application is to say to yourself, What would I want the application to do if I were the user? Basically, you're the first and most important user of the application. This approach might not work for the larger, corporate-type application, but it does work for the smaller, more personal types.

 
< previous page page_215 next page >

If you like this book, buy it!